
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>PyJava API简介 · MLSQL Engine 文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/image.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="read_excel.html" />
    
    
    <link rel="prev" href="train.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    MLSQL Engine产品简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../howtouse/">
            
                <a href="../howtouse/">
            
                    
                    MLSQL Engine基本安装
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../howtouse/configuration.html">
            
                <a href="../howtouse/configuration.html">
            
                    
                    启动参数详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../howtouse/deploy.html">
            
                <a href="../howtouse/deploy.html">
            
                    
                    Local
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../howtouse/k8s_deploy.html">
            
                <a href="../howtouse/k8s_deploy.html">
            
                    
                    K8s部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../howtouse/yarn_deploy.html">
            
                <a href="../howtouse/yarn_deploy.html">
            
                    
                    Yarn部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../security/README.md">
            
                <span>
            
                    
                    MLSQL Engine安全加固
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../security/token_control.html">
            
                <a href="../security/token_control.html">
            
                    
                    接口访问Token设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../security/custom_control.html">
            
                <a href="../security/custom_control.html">
            
                    
                    自定义接口访问策略
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../auth/">
            
                <a href="../auth/">
            
                    
                    MLSQL Engine数据访问控制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" >
            
                <span>
            
                    
                    解析时表权限
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" >
            
                <span>
            
                    
                    运行时表权限表以及列权限
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" >
            
                <span>
            
                    
                    客户端开发
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" >
            
                <span>
            
                    
                    服务端开发
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../api/README.md">
            
                <span>
            
                    
                    MLSQL Engine Rest接口详解
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../api/run-script.html">
            
                <a href="../api/run-script.html">
            
                    
                    /run/script
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="./">
            
                <a href="./">
            
                    
                    MLSQL Python支持
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="env.html">
            
                <a href="env.html">
            
                    
                    环境依赖
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="etl.html">
            
                <a href="etl.html">
            
                    
                    数据处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="train.html">
            
                <a href="train.html">
            
                    
                    模型训练
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6.4" data-path="pyjava.html">
            
                <a href="pyjava.html">
            
                    
                    PyJava API简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="read_excel.html">
            
                <a href="read_excel.html">
            
                    
                    结合Python读取Excel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="write_excel.html">
            
                <a href="write_excel.html">
            
                    
                    结合Python保存Excel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="resource.html">
            
                <a href="resource.html">
            
                    
                    K8s下的Python资源限制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="datamode.html">
            
                <a href="datamode.html">
            
                    
                    dataMode 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="py_paralell.html">
            
                <a href="py_paralell.html">
            
                    
                    Python并行度你所需要知道的
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../plugin/">
            
                <a href="../plugin/">
            
                    
                    插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../plugin/online_install.html">
            
                <a href="../plugin/online_install.html">
            
                    
                    网络安装插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../plugin/offline_install.html">
            
                <a href="../plugin/offline_install.html">
            
                    
                    离线安装插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >PyJava API简介</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="pyjava-api&#x7B80;&#x4ECB;">PyJava API&#x7B80;&#x4ECB;</h1>
<p>&#x524D;&#x9762;&#x6240;&#x6709;&#x7684;Python&#x6587;&#x4EF6;&#x91CC;&#x90FD;&#x5F15;&#x5165;&#x4E86;pyjava&#x5305;&#xFF0C;</p>
<pre><code class="lang-python"><span class="hljs-keyword">from</span> pyjava <span class="hljs-keyword">import</span> rayfix
<span class="hljs-keyword">from</span> pyjava.api.mlsql <span class="hljs-keyword">import</span> RayContext
</code></pre>
<p>&#x8BE5;&#x5305;&#x5B9E;&#x73B0;&#x4E86;Python&#x548C;&#x7CFB;&#x7EDF;&#x7684;&#x4EA4;&#x4E92;&#x3002;</p>
<ol>
<li>&#x7CFB;&#x7EDF;&#x5185;&#x7F6E;&#x4E86;&#x4E00;&#x4E2A;context,&#x7C7B;&#x578B;&#x4E3A;PythonContext.</li>
<li>&#x5927;&#x90E8;&#x5206;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x7528;&#x6237;&#x9700;&#x8981;&#x4F7F;&#x7528;RayContext</li>
</ol>
<h2 id="&#x521D;&#x59CB;&#x5316;raycontext">&#x521D;&#x59CB;&#x5316;RayContext</h2>
<p>&#x901A;&#x8FC7;&#x5982;&#x4E0B;&#x4EE3;&#x7801;&#x521D;&#x59CB;&#x5316;RayContext&#xFF1A;</p>
<pre><code class="lang-python">ray_context = RayContext.connect(globals(),<span class="hljs-string">&quot;192.168.31.80:17019&quot;</span>)
</code></pre>
<p>&#x5176;&#x4E2D;&#x7B2C;&#x4E8C;&#x4E2A;&#x53C2;&#x6570;&#x662F;&#x53EF;&#x9009;&#x7684;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x8FDE;&#x63A5;Ray&#x96C6;&#x7FA4;&#xFF0C;&#x5219;&#x8BBE;&#x7F6E;&#x4E3A;None&#x5373;&#x53EF;&#x3002;</p>
<h2 id="&#x83B7;&#x53D6;&#x6570;&#x636E;&#x5206;&#x7247;">&#x83B7;&#x53D6;&#x6570;&#x636E;&#x5206;&#x7247;</h2>
<p>&#x901A;&#x8FC7;&#x4E0B;&#x9762;&#x4EE3;&#x7801;&#x53EF;&#x4EE5;&#x83B7;&#x53D6;&#x591A;&#x4E2A;&#x6570;&#x636E;&#x5730;&#x5740;&#xFF1A;</p>
<pre><code class="lang-python">data_servers = ray_context.data_servers()
</code></pre>
<p>data_servers&#x662F;&#x5B57;&#x7B26;&#x4E32;&#x6570;&#x7EC4;&#xFF0C;&#x6BCF;&#x4E2A;&#x5143;&#x7D20;&#x662F;&#x4E00;&#x4E2A; <code>ip:port</code>&#x7684;&#x5F62;&#x6001;. &#x4ECE;&#x8FD9;&#x4E9B;&#x6570;&#x636E;&#x5730;&#x5740;&#xFF0C;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x83B7;&#x53D6;&#x4E0B;&#x5217;&#x4EE3;&#x7801;&#x4E2D;</p>
<pre><code class="lang-sql"><span class="hljs-keyword">load</span> delta.<span class="hljs-string">`public.example_data`</span> <span class="hljs-keyword">as</span> cc;
!ray on cc py.wow1 named mlsql_temp_table2;
</code></pre>
<p>cc &#x8868;&#x7684;&#x6570;&#x636E;&#x3002;</p>
<p>&#x6709;&#x4E86;&#x5730;&#x5740;&#x4E4B;&#x540E;&#xFF0C;MLSQL&#x63D0;&#x4F9B;&#x4E86;&#x591A;&#x79CD;&#x65B9;&#x5F0F;&#x53BB;&#x62C9;&#x53D6;&#x771F;&#x5B9E;&#x7684;&#x6570;&#x636E;&#x3002;</p>
<p>&#x6700;&#x7B80;&#x5355;&#x7684;&#x6A21;&#x5F0F;&#xFF1A;</p>
<pre><code class="lang-sql">RayContext.collect_from(ray_context.data_servers())
</code></pre>
<p>&#x8BE5;&#x4EE3;&#x7801;&#x4F1A;&#x904D;&#x5386;&#x6BCF;&#x4E2A;&#x5730;&#x5740;&#xFF0C;&#x7136;&#x540E;&#x8FD4;&#x56DE;&#x4E00;&#x4E2A;generator.  </p>
<p>&#x5982;&#x679C;&#x5DF2;&#x7ECF;&#x8FDE;&#x63A5;&#x4E86;Ray,&#x90A3;&#x4E48;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x4F7F;&#x7528;&#x9AD8;&#x9636;API <code>ray_context.foreach</code></p>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">echo</span><span class="hljs-params">(row)</span>:</span>
    row1 = {}
    row1[<span class="hljs-string">&quot;ProductName&quot;</span>]=<span class="hljs-string">&quot;jackm&quot;</span>
    row1[<span class="hljs-string">&quot;SubProduct&quot;</span>] = row[<span class="hljs-string">&quot;SubProduct&quot;</span>]
    <span class="hljs-keyword">return</span> row1


buffer = ray_context.foreach(echo)
</code></pre>
<p>foreach&#x63A5;&#x53D7;&#x4E00;&#x4E2A;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#xFF0C;&#x51FD;&#x6570;&#x7684;&#x5165;&#x53C2;&#x662F;&#x4E00;&#x6761;&#x8BB0;&#x5F55;&#x3002;&#x7528;&#x6237;&#x65E0;&#x9700;&#x663E;&#x793A;&#x7684;&#x7533;&#x660E;&#x5982;&#x4F55;&#x83B7;&#x53D6;&#x6570;&#x636E;&#xFF0C;&#x53EA;&#x8981;&#x5B9E;&#x73B0;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#x5373;&#x53EF;&#x3002;&#x6211;&#x4EEC;&#x4E5F;&#x53EF;&#x4EE5;&#x83B7;&#x5F97;&#x4E00;&#x6279;&#x6570;&#x636E;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;<code>ray_context.map_iter</code>&#x3002; &#x7CFB;&#x7EDF;&#x4F1A;&#x81EA;&#x52A8;&#x8C03;&#x5EA6;&#x591A;&#x4E2A;&#x4EFB;&#x52A1;&#x5230;Ray&#x4E0A;&#x5E76;&#x884C;&#x8FD0;&#x884C;&#x3002; map_iter&#x4F1A;&#x6839;&#x636E;&#x8868;&#x7684;&#x5206;&#x7247;&#x5927;&#x5C0F;&#x542F;&#x52A8;&#x76F8;&#x5E94;&#x4E2A;&#x6570;&#x7684;task,&#x5982;&#x679C;&#x4F60;&#x5E0C;&#x671B;&#x901A;&#x8FC7;map_iter&#x62FF;&#x5230;&#x6240;&#x6709;&#x7684;&#x6570;&#x636E;&#xFF0C;&#x800C;&#x975E;&#x90E8;&#x5206;&#x6570;&#x636E;&#xFF0C;&#x53EF;&#x4EE5;&#x5148;&#x5BF9;&#x8868;&#x505A;&#x91CD;&#x65B0;&#x5206;&#x533A;&#xFF1A;</p>
<pre><code>-- simpleDataTemp&#x8F6C;&#x5316;&#x6210;&#x53EA;&#x6709;&#x4E00;&#x4E2A;&#x5206;&#x7247;&#x6570;&#x636E;&#x7684;&#x65B0;&#x8868;simpleData; 
!tableRepartition _ -i simpleDataTemp -num 1 -o simpleData;
</code></pre><p>&#x4E00;&#x4E2A;&#x4F7F;&#x7528;map_iter&#x7684;&#x4F8B;&#x5B50;&#xFF1A;</p>
<pre><code class="lang-python">

!pyInclude ray_data.foreach.py named wow1;

-- load delta.`public.consumer_complains` <span class="hljs-keyword">as</span> cc;
-- select * <span class="hljs-keyword">from</span> cc 
-- union all select * <span class="hljs-keyword">from</span> cc 
-- union all select * <span class="hljs-keyword">from</span> cc 
-- union all select * <span class="hljs-keyword">from</span> cc 
-- <span class="hljs-keyword">as</span> newcc;

-- save overwrite newcc <span class="hljs-keyword">as</span> parquet.`/tmp/newcc`  where fileNum=<span class="hljs-string">&quot;1&quot;</span>;
load parquet.`/tmp/newcc` <span class="hljs-keyword">as</span> newcc_temp;
!tableRepartition _ -i newcc_temp -num <span class="hljs-number">1</span> -o newcc;
-- select count(*) <span class="hljs-keyword">from</span> newcc <span class="hljs-keyword">as</span> output;

-- ray &#x914D;&#x7F6E;
!python env <span class="hljs-string">&quot;PYTHON_ENV=source activate dev&quot;</span>;
!python conf <span class="hljs-string">&quot;schema=st(field(ProductName,string),field(SubProduct,string))&quot;</span>;
!python conf <span class="hljs-string">&quot;runIn=driver&quot;</span>;
!python conf <span class="hljs-string">&quot;dataMode=data&quot;</span>;

-- ray&#x5904;&#x7406;&#x6570;&#x636E;&#x4EE3;&#x7801;
!ray on newcc <span class="hljs-string">&apos;&apos;&apos;
import ray
from pyjava.api.mlsql import RayContext
import numpy as np;
import time


ray_context = RayContext.connect(globals(),&quot;xxxx:xxxx&quot;)


def echo(rows):
    count = 0
    for row in rows:
      row1 = {}
      row1[&quot;ProductName&quot;]=&quot;jackm&quot;
      row1[&quot;SubProduct&quot;] = row[&quot;SubProduct&quot;]
      count = count + 1
      if count%1000 == 0:
          print(&quot;=====&gt; &quot; + str(time.time()) + &quot; ====&gt;&quot; + str(count))
      yield row1


ray_context.map_iter(echo)


&apos;&apos;&apos;</span> named mlsql_temp_table2;

--&#x7ED3;&#x679C;
save overwrite mlsql_temp_table2 <span class="hljs-keyword">as</span> parquet.`/tmp/mlsql_temp_table2`;
load  parquet.`/tmp/mlsql_temp_table2` <span class="hljs-keyword">as</span> mlsql_temp_table3;
</code></pre>
<p>&#x5982;&#x679C;&#x7528;&#x6237;&#x5E0C;&#x671B;&#x81EA;&#x5DF1;&#x638C;&#x63A7;&#x4EFB;&#x52A1;&#x7684;&#x8C03;&#x5EA6;&#xFF0C;&#x90A3;&#x4E48;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;Ray &#x7684;remote&#x65B9;&#x6CD5;</p>
<pre><code class="lang-python">data_servers = ray_context.data_servers()

<span class="hljs-comment"># &#x5BF9;&#x6BCF;&#x4E2A;&#x5206;&#x533A;&#x7684;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x5904;&#x7406;</span>
<span class="hljs-meta">@ray.remote</span>
<span class="hljs-meta">@rayfix.last</span>
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">process</span><span class="hljs-params">(server)</span>:</span>
    <span class="hljs-keyword">import</span> time
    time.sleep(<span class="hljs-number">1</span>)
    data = RayContext.fetch_once_as_rows(server)
    items = [{<span class="hljs-string">&quot;content&quot;</span>:item[<span class="hljs-string">&apos;content&apos;</span>]} <span class="hljs-keyword">for</span> item <span class="hljs-keyword">in</span> data]
    <span class="hljs-keyword">return</span> items

<span class="hljs-comment"># &#x542F;&#x52A8;N&#x4E2A;&#x4EFB;&#x52A1;&#x8FDB;&#x884C;&#x5904;&#x7406;</span>
items = [ray.get(process(server)) <span class="hljs-keyword">for</span> server <span class="hljs-keyword">in</span> servers]
</code></pre>
<p>&#x5728;&#x8FD9;&#x91CC;&#xFF0C;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;<code>RayContext.fetch_once_as_rows(server)</code> &#x83B7;&#x53D6;&#x4E00;&#x4E2A;&#x7279;&#x5B9A;&#x5206;&#x533A;&#x7684;&#x6570;&#x636E;&#x3002;</p>
<h2 id="&#x83B7;&#x53D6;&#x6570;&#x636E;&#x5E76;&#x4E14;&#x5B58;&#x50A8;&#x5230;python&#x8FD0;&#x884C;&#x7684;&#x4E3B;&#x673A;">&#x83B7;&#x53D6;&#x6570;&#x636E;&#x5E76;&#x4E14;&#x5B58;&#x50A8;&#x5230;python&#x8FD0;&#x884C;&#x7684;&#x4E3B;&#x673A;</h2>
<p>&#x901A;&#x8FC7; <code>ray_context.collect_as_file</code> &#x4F60;&#x5C31;&#x53EF;&#x4EE5;&#x83B7;&#x53D6;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5F15;&#x7528;&#xFF0C;&#x7136;&#x540E;&#x53EF;&#x4EE5;&#x53CD;&#x590D;&#x8FED;&#x4EE3;&#x6570;&#x636E;&#x3002;</p>
<pre><code class="lang-python">data = ray_context.collect_as_file(<span class="hljs-number">2</span>)
<span class="hljs-keyword">for</span> item <span class="hljs-keyword">in</span> data: 
    print(item)
</code></pre>
<p>&#x5176;&#x4E2D;&#x91CC;&#x9762;&#x7684;&#x53C2;&#x6570;&#x8868;&#x793A;&#xFF0C;&#x4F60;&#x9700;&#x8981;&#x8FED;&#x4EE3;&#x51E0;&#x6B21;&#x7684;&#x6570;&#x636E;&#x91CF;&#x3002;&#x7B97;&#x6CD5;&#x9700;&#x8981;&#x5BF9;&#x6570;&#x636E;&#x8FDB;&#x884C;&#x591A;&#x6B21;&#x8BAD;&#x7EC3;&#xFF0C;&#x8BE5;&#x53C2;&#x6570;&#x5C31;&#x662F;&#x4E3A;&#x4E86;&#x6EE1;&#x8DB3;&#x8FD9;&#x4E2A;&#x9700;&#x6C42;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="train.html" class="navigation navigation-prev " aria-label="Previous page: 模型训练">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="read_excel.html" class="navigation navigation-next " aria-label="Next page: 结合Python读取Excel">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"PyJava API简介","level":"1.6.4","depth":2,"next":{"title":"结合Python读取Excel","level":"1.6.5","depth":2,"path":"python/read_excel.md","ref":"python/read_excel.md","articles":[]},"previous":{"title":"模型训练","level":"1.6.3","depth":2,"path":"python/train.md","ref":"python/train.md","articles":[]},"dir":"ltr"},"config":{"plugins":["image-class","lightbox"],"styles":{"website":"styles/image.css"},"pluginsConfig":{"image-class":{},"lightbox":{"jquery":true,"sameUuid":false},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"MLSQL Engine 文档","gitbook":"*","description":"MLSQL Engine 官方文档"},"file":{"path":"python/pyjava.md","mtime":"2020-09-02T06:45:13.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-03T03:59:44.434Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

